gtk4.git
5 years agoRemove references to bundled gtk-doc
Simon McVittie [Fri, 6 Nov 2020 20:46:27 +0000 (20:46 +0000)]
Remove references to bundled gtk-doc

5 years agod/libgtk-4-common.install.in: Install emoji data files
Simon McVittie [Fri, 6 Nov 2020 20:44:22 +0000 (20:44 +0000)]
d/libgtk-4-common.install.in: Install emoji data files

5 years agod/rules: Change introspection from true to enabled
Simon McVittie [Fri, 6 Nov 2020 16:10:10 +0000 (16:10 +0000)]
d/rules: Change introspection from true to enabled

Similarly, change it from false to disabled for the udeb.
It's now a feature flag, rather than a boolean.

5 years agoDrop patch for gtk-doc 1.33, applied upstream
Simon McVittie [Fri, 6 Nov 2020 12:53:50 +0000 (12:53 +0000)]
Drop patch for gtk-doc 1.33, applied upstream

5 years agoUpdate dependency versions
Simon McVittie [Thu, 5 Nov 2020 20:22:51 +0000 (20:22 +0000)]
Update dependency versions

5 years agoNew upstream release
Simon McVittie [Thu, 5 Nov 2020 18:55:01 +0000 (18:55 +0000)]
New upstream release

5 years agoUpdate upstream source from tag 'upstream/3.99.4'
Simon McVittie [Thu, 5 Nov 2020 18:55:01 +0000 (18:55 +0000)]
Update upstream source from tag 'upstream/3.99.4'

Update to upstream version '3.99.4'
with Debian dir b51c374acdfc18901911f20c11b3a52a939ffe2c

5 years agoNew upstream version 3.99.4
Simon McVittie [Thu, 5 Nov 2020 18:54:19 +0000 (18:54 +0000)]
New upstream version 3.99.4

5 years agoNew upstream release
Simon McVittie [Thu, 5 Nov 2020 18:54:07 +0000 (18:54 +0000)]
New upstream release

5 years agoUpdate upstream source from tag 'upstream/3.99.3'
Simon McVittie [Thu, 5 Nov 2020 18:54:07 +0000 (18:54 +0000)]
Update upstream source from tag 'upstream/3.99.3'

Update to upstream version '3.99.3'
with Debian dir ce0839a0f50f371c89a1853e400354d45ada141a

5 years agoNew upstream version 3.99.3
Simon McVittie [Thu, 5 Nov 2020 18:53:25 +0000 (18:53 +0000)]
New upstream version 3.99.3

5 years agoUpdate changelog
Simon McVittie [Thu, 5 Nov 2020 18:11:46 +0000 (18:11 +0000)]
Update changelog

5 years ago3.99.4
Matthias Clasen [Thu, 5 Nov 2020 02:46:10 +0000 (21:46 -0500)]
3.99.4

5 years agoMerge branch 'wip/chergert/gdk-macos-gl-renderer' into 'master'
Matthias Clasen [Thu, 5 Nov 2020 02:21:02 +0000 (02:21 +0000)]
Merge branch 'wip/chergert/gdk-macos-gl-renderer' into 'master'

macos: gl context improvements and event cleanup

See merge request GNOME/gtk!2780

5 years agoMerge branch 'wip/chergert/fix-macos-pointer-position-over-surface' into 'master'
Matthias Clasen [Thu, 5 Nov 2020 02:19:18 +0000 (02:19 +0000)]
Merge branch 'wip/chergert/fix-macos-pointer-position-over-surface' into 'master'

macos: fix calculation of mouse position

See merge request GNOME/gtk!2781

5 years agomacos: fix calculation of mouse position
Christian Hergert [Thu, 5 Nov 2020 02:02:04 +0000 (18:02 -0800)]
macos: fix calculation of mouse position

This fixes the calculation of the position of the pointer over the surface
which was incorrectly providing negative values.

5 years agoMerge branch 'patch-5' into 'master'
Matthias Clasen [Thu, 5 Nov 2020 01:53:34 +0000 (01:53 +0000)]
Merge branch 'patch-5' into 'master'

Update comment annotations of gtk_tree_model_iter_previous and...

See merge request GNOME/gtk!2775

5 years agoMerge branch 'fix-issue-2019-for-master' into 'master'
Matthias Clasen [Thu, 5 Nov 2020 01:53:02 +0000 (01:53 +0000)]
Merge branch 'fix-issue-2019-for-master' into 'master'

[master] GdkW32: remove klassTEMPSHADOW

Closes #2019

See merge request GNOME/gtk!2750

5 years agoMerge branch 'mr1063-for-master' into 'master'
Matthias Clasen [Thu, 5 Nov 2020 01:48:37 +0000 (01:48 +0000)]
Merge branch 'mr1063-for-master' into 'master'

Forward port MR !1063 (Win32 IME fixes) to GTK master

See merge request GNOME/gtk!2777

5 years agomacos: resize extra GL window/view when surface changes
Christian Hergert [Thu, 5 Nov 2020 01:09:48 +0000 (17:09 -0800)]
macos: resize extra GL window/view when surface changes

Once we figure out what is going on with textures, changes are we'll be
able to let this stay a zero rect. But that is still a bit up in the air right now.

5 years agomacos: clip damage when swapping buffers
Christian Hergert [Thu, 5 Nov 2020 01:08:43 +0000 (17:08 -0800)]
macos: clip damage when swapping buffers

This ensures that we only copy the changed area.

5 years agomacos: remove synthesize_motion helper
Christian Hergert [Thu, 5 Nov 2020 00:58:50 +0000 (16:58 -0800)]
macos: remove synthesize_motion helper

We can use gdk_surface_request_motion() now instead of our extra
helper to do essentially the same thing.

5 years agomacos: always create dummy window/view for GL context
Christian Hergert [Wed, 4 Nov 2020 22:40:11 +0000 (14:40 -0800)]
macos: always create dummy window/view for GL context

This simplifies the creation by always creating the dummy views, and then
removes it if necessary by detecting the begin_frame/end_frame pair.

5 years agoRevert "Simplify gdk_surface_queue_render"
Christian Hergert [Thu, 5 Nov 2020 00:28:13 +0000 (16:28 -0800)]
Revert "Simplify gdk_surface_queue_render"

This reverts commit 2120e9df880cabfe21d5a4e8c2d0e6804a4e09d8.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 4 Nov 2020 20:41:09 +0000 (20:41 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2779

5 years agoMerge branch 'ebassi/for-master' into 'master'
Matthias Clasen [Wed, 4 Nov 2020 20:37:39 +0000 (20:37 +0000)]
Merge branch 'ebassi/for-master' into 'master'

Ebassi/for master

See merge request GNOME/gtk!2778

5 years agopopovermenu: Fail gracefully if no model
Matthias Clasen [Wed, 4 Nov 2020 19:56:52 +0000 (14:56 -0500)]
popovermenu: Fail gracefully if no model

If we don't have a model yet, return FALSE from
gtk_popover_menu_add_custom().

5 years agoCosmetics
Matthias Clasen [Tue, 3 Nov 2020 20:47:03 +0000 (15:47 -0500)]
Cosmetics

Extraneous pair of parens snuck in with 2120e9df88.

5 years agosurface: Be smarter about autohide
Matthias Clasen [Tue, 3 Nov 2020 20:28:40 +0000 (15:28 -0500)]
surface: Be smarter about autohide

When we close grabbing popups due to an outside
click, check at each level if the click is still
outside. This makes closing the nested popover
menu in the popover on page 3 of widget-factory
work as expected, when you click the menubutton
again.

5 years agosurface: Be more lenient for autohide
Matthias Clasen [Tue, 3 Nov 2020 20:26:47 +0000 (15:26 -0500)]
surface: Be more lenient for autohide

When an event happens on a non-grabbing popup that hangs off
a grabbing popup, don't trigger the autohide. This makes touch
text handles work inside the popover on page 3 of widget-factory.

5 years agoa11y: Remove stray g_printerr()
Emmanuele Bassi [Wed, 4 Nov 2020 19:39:08 +0000 (19:39 +0000)]
a11y: Remove stray g_printerr()

5 years agoa11y: Hide the "indent" in GtkTreeExpander
Emmanuele Bassi [Wed, 4 Nov 2020 19:38:14 +0000 (19:38 +0000)]
a11y: Hide the "indent" in GtkTreeExpander

It's just padding.

5 years agoa11y: Describe window controls
Emmanuele Bassi [Wed, 4 Nov 2020 18:59:11 +0000 (18:59 +0000)]
a11y: Describe window controls

The window controls for client side decorations have only icons, which
means they are not accessible.

5 years agoMerge branch 'a11y/atcontext-realize' into 'master'
Matthias Clasen [Wed, 4 Nov 2020 18:10:55 +0000 (18:10 +0000)]
Merge branch 'a11y/atcontext-realize' into 'master'

A11y/atcontext realize

See merge request GNOME/gtk!2772

5 years agogtk-demo: Simplify the run button
Matthias Clasen [Wed, 4 Nov 2020 17:54:48 +0000 (12:54 -0500)]
gtk-demo: Simplify the run button

Don't create the label manually. It is not necessary,
and letting the button do it also improves the
accessibility setup.

5 years agogtk-demo: Set some accessible properties
Matthias Clasen [Wed, 4 Nov 2020 17:53:23 +0000 (12:53 -0500)]
gtk-demo: Set some accessible properties

Set labels in the builder demo. The ARIA authoring practices
say that both menubars and toolbars *must* have an accessible
label.

5 years agoa11y: Move parent context ref getter to its own function
Emmanuele Bassi [Wed, 4 Nov 2020 16:59:19 +0000 (16:59 +0000)]
a11y: Move parent context ref getter to its own function

Keeps the body of handle_accessible_get_property() readable.

5 years agoa11y: Make the Button labelled by its child label
Emmanuele Bassi [Wed, 4 Nov 2020 16:43:59 +0000 (16:43 +0000)]
a11y: Make the Button labelled by its child label

Establish the relation whenever we set the label widget.

5 years agoa11y: Use the tooltip text as the accessible description
Emmanuele Bassi [Wed, 4 Nov 2020 16:42:16 +0000 (16:42 +0000)]
a11y: Use the tooltip text as the accessible description

It's more common to have a tooltip as the accessible description than an
explicit description. This is also the behaviour of GTK3.

5 years agoSet accessible label on GTK Demo's primary menu
Emmanuele Bassi [Wed, 4 Nov 2020 16:41:31 +0000 (16:41 +0000)]
Set accessible label on GTK Demo's primary menu

Otherwise its label is going to be "GtkMenuButton".

5 years agoa11y: Unrealize ATContext on dispose
Emmanuele Bassi [Wed, 4 Nov 2020 16:40:59 +0000 (16:40 +0000)]
a11y: Unrealize ATContext on dispose

5 years agoPropagate accessible-role to backend
Matthias Clasen [Wed, 4 Nov 2020 16:53:07 +0000 (11:53 -0500)]
Propagate accessible-role to backend

We want to allow setting the accessible role as long
as the context is unrealized, so we need to propagate
the new role.

5 years agogtk-demo: Set an accessible role
Matthias Clasen [Wed, 4 Nov 2020 16:36:52 +0000 (11:36 -0500)]
gtk-demo: Set an accessible role

Set an accessible role for the toolbar in the
builder demo. This tests accessibility support
in GtkBuilder.

5 years agoRequire pango 1.47.0
Simon McVittie [Wed, 4 Nov 2020 15:37:02 +0000 (15:37 +0000)]
Require pango 1.47.0

5 years agoa11y: Allow updating role on unrealized contexts
Emmanuele Bassi [Wed, 4 Nov 2020 14:35:16 +0000 (14:35 +0000)]
a11y: Allow updating role on unrealized contexts

We can still change the accessible role if an ATContext instance is
unrealized.

5 years agoa11y: Move ATContext to an explicit realization model
Emmanuele Bassi [Mon, 19 Oct 2020 16:44:50 +0000 (17:44 +0100)]
a11y: Move ATContext to an explicit realization model

We are doing too much work during the construction phase of the
AT-SPI backend for GtkATContext. Instead of having the AtSpiContext
register itself at construction time, let's add explicit realize
and unrealize operations, and connect the ATContext realization to the
rooting operation of a GtkWidget.

5 years agod/tests/run-with-locales: Move from d/run-with-locales
Simon McVittie [Wed, 4 Nov 2020 10:59:15 +0000 (10:59 +0000)]
d/tests/run-with-locales: Move from d/run-with-locales

This makes tab-completion for d/rules work better.

5 years agoWin32 IME fixes
Philip Zander [Mon, 7 Sep 2020 11:04:47 +0000 (19:04 +0800)]
Win32 IME fixes

See merge request !1063

5 years agobroadway: Set modifier state of scroll events
kai-berlin [Sat, 31 Oct 2020 22:21:04 +0000 (22:21 +0000)]
broadway: Set modifier state of scroll events

Set modifier state of scroll events, so Ctrl-scroll
works.

Fixes: #2733
5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 3 Nov 2020 20:15:08 +0000 (20:15 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3318, #3319, and #3320

See merge request GNOME/gtk!2776

5 years agotexthandle: Queue a draw when role changes
Matthias Clasen [Tue, 3 Nov 2020 19:39:29 +0000 (14:39 -0500)]
texthandle: Queue a draw when role changes

This helps with role changes not taking immediate
effect.

Fixes: #3320
5 years agoSimplify gdk_surface_queue_render
Matthias Clasen [Tue, 3 Nov 2020 19:37:27 +0000 (14:37 -0500)]
Simplify gdk_surface_queue_render

We can just call gdk_surface_invalidate_rect here
like we do elsewhere in gdk, and I'm a bit uncertain
about the current code that adds an empty update
region.

5 years agotexthandle: Fix positioning
Matthias Clasen [Tue, 3 Nov 2020 17:37:07 +0000 (12:37 -0500)]
texthandle: Fix positioning

Use the same approach we use for popovers, using
gtk_widget_get_surface_allocation. It works.

Fixes: #3319
5 years agowidget-factory: Make sure we close popover on page 3
Matthias Clasen [Tue, 3 Nov 2020 17:09:43 +0000 (12:09 -0500)]
widget-factory: Make sure we close popover on page 3

We don't want the popover to stay open when we open
an about dialog or shortcuts window. Since cascade-popdown
would also affect e.g. the context menu of the text widgets,
do this explicitly.

5 years agopopover: Change default for cascade-popdown
Matthias Clasen [Tue, 3 Nov 2020 15:23:34 +0000 (10:23 -0500)]
popover: Change default for cascade-popdown

We've found a number of cases where this cascading
has unexpected side-effects. So, turn it off by
default, and only set it for menus.

5 years agoAdwaita: Set a background for magnifiers
Matthias Clasen [Tue, 3 Nov 2020 15:12:32 +0000 (10:12 -0500)]
Adwaita: Set a background for magnifiers

The magnifier in entries is magnifying the GtkText
widget, which does not draw any background itself.
Therefore, we give the magnifier a background, to
make things look as expected.

Fixes: #3318
5 years agomagnifier: Set a css name
Matthias Clasen [Tue, 3 Nov 2020 15:11:50 +0000 (10:11 -0500)]
magnifier: Set a css name

Predictably, we use the name "magnifier".

5 years agoNEWS: Updates
Matthias Clasen [Tue, 3 Nov 2020 14:41:33 +0000 (09:41 -0500)]
NEWS: Updates

5 years agodocs: Mention g_file_get_basename
Matthias Clasen [Tue, 3 Nov 2020 12:33:31 +0000 (07:33 -0500)]
docs: Mention g_file_get_basename

Mention g_file_get_basename in the migration guide section
about GtkFileChooser api changes.

5 years agoUpdate comment annotations of gtk_tree_model_iter_previous and gtk_tree_model_iter_ne...
Danny Milosavljevic [Tue, 3 Nov 2020 15:10:11 +0000 (15:10 +0000)]
Update comment annotations of gtk_tree_model_iter_previous and gtk_tree_model_iter_next to state that the ITER parameter is modified.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 3 Nov 2020 12:14:21 +0000 (12:14 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2774

5 years agogtk-demo: Remove more gtk3-demo icon uses
Matthias Clasen [Tue, 3 Nov 2020 03:50:03 +0000 (22:50 -0500)]
gtk-demo: Remove more gtk3-demo icon uses

Use our own logo everywhere.

5 years agogtk-demo: Tweak images demo
Matthias Clasen [Tue, 3 Nov 2020 03:43:44 +0000 (22:43 -0500)]
gtk-demo: Tweak images demo

Use our own logo instead of the gtk3-demo one, and
tweak the headings to refledct what we show.

5 years agogtk-demo: Reanimate floppy buddy
Matthias Clasen [Tue, 3 Nov 2020 01:58:28 +0000 (20:58 -0500)]
gtk-demo: Reanimate floppy buddy

Implement a GdkPaintable wrapper around GdkPixbufAnimation,
so floppy buddy can waive again.

5 years agowidget-factory: Restore modality of the about dialog
Matthias Clasen [Tue, 3 Nov 2020 00:15:26 +0000 (19:15 -0500)]
widget-factory: Restore modality of the about dialog

Make the about dialog of widget-factory modal again.
This was lost in 87a8fda163d419ee3e.

5 years agogl renderer: Make debugging code shorter
Timm Bäder [Sun, 1 Nov 2020 11:27:59 +0000 (12:27 +0100)]
gl renderer: Make debugging code shorter

5 years agogl renderer: Refactor vertex data loading code
Timm Bäder [Sun, 1 Nov 2020 11:22:06 +0000 (12:22 +0100)]
gl renderer: Refactor vertex data loading code

5 years agogl renderer: Use the load_vertex_data* functions more often
Timm Bäder [Sun, 1 Nov 2020 11:16:44 +0000 (12:16 +0100)]
gl renderer: Use the load_vertex_data* functions more often

5 years agogl renderer: More load_vertex_data* usage
Timm Bäder [Sun, 1 Nov 2020 10:25:00 +0000 (11:25 +0100)]
gl renderer: More load_vertex_data* usage

5 years agogl renderer: Reword a comment
Timm Bäder [Sat, 31 Oct 2020 16:15:24 +0000 (17:15 +0100)]
gl renderer: Reword a comment

5 years agogl renderer: Remove an outdated comment
Timm Bäder [Sat, 31 Oct 2020 16:13:31 +0000 (17:13 +0100)]
gl renderer: Remove an outdated comment

5 years agogl renderer: Refactor rendering shadow nodes
Timm Bäder [Sat, 31 Oct 2020 16:12:38 +0000 (17:12 +0100)]
gl renderer: Refactor rendering shadow nodes

Also use load_vertex_data_with_region here.

5 years agogl renderer: Refactor blurred shadow drawing code
Timm Bäder [Sat, 31 Oct 2020 10:54:33 +0000 (11:54 +0100)]
gl renderer: Refactor blurred shadow drawing code

We already have various load_vertex_data* code, so try to reuse that
here.

5 years agogl renderer: Nine-slice unblurred outset shadows
Timm Bäder [Sat, 31 Oct 2020 07:54:27 +0000 (08:54 +0100)]
gl renderer: Nine-slice unblurred outset shadows

See #3284

5 years agoprintoperation: Remove double assignment
Timm Bäder [Fri, 23 Oct 2020 09:01:34 +0000 (11:01 +0200)]
printoperation: Remove double assignment

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 2 Nov 2020 19:36:09 +0000 (19:36 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

gtk-demo polish

See merge request GNOME/gtk!2773

5 years agogtk-demo: Renovate the paned demo
Matthias Clasen [Mon, 2 Nov 2020 18:56:19 +0000 (13:56 -0500)]
gtk-demo: Renovate the paned demo

Make this look less like testgtk from GTK 2.

5 years agofixup: window titles
Matthias Clasen [Mon, 2 Nov 2020 17:02:19 +0000 (12:02 -0500)]
fixup: window titles

5 years agogtk-demo: Polish all entry demos
Matthias Clasen [Mon, 2 Nov 2020 17:01:11 +0000 (12:01 -0500)]
gtk-demo: Polish all entry demos

Make the spacing a bit more consistent, and tweak
some strings here and there.

5 years agogtk-demo: Polish the search bar demo
Matthias Clasen [Mon, 2 Nov 2020 17:00:24 +0000 (12:00 -0500)]
gtk-demo: Polish the search bar demo

Rename this, and make it look a bit less like a
debugging tool, and more like a demo.

5 years agogtk-demo: Tweak tagged entry styling
Matthias Clasen [Mon, 2 Nov 2020 16:59:22 +0000 (11:59 -0500)]
gtk-demo: Tweak tagged entry styling

Move the tags closer together, and avoid resizing too much.

5 years agogtk-demo: Tweak window titles
Matthias Clasen [Mon, 2 Nov 2020 16:05:57 +0000 (11:05 -0500)]
gtk-demo: Tweak window titles

This is an attempt to improve consistency in the sidebar
and the window titles.

5 years agorun-with-locales: Normalize utf8 to UTF-8 without using SUPPORTED file
Simon McVittie [Mon, 2 Nov 2020 13:53:17 +0000 (13:53 +0000)]
run-with-locales: Normalize utf8 to UTF-8 without using SUPPORTED file

5 years agogtk-demo: Use typographic style classes
Matthias Clasen [Mon, 2 Nov 2020 13:38:20 +0000 (08:38 -0500)]
gtk-demo: Use typographic style classes

We don't need to hardcode <u> in markup anymore.
Use the heading style class instead.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 2 Nov 2020 11:52:13 +0000 (11:52 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2769

5 years agotestsuite: Add tests for gtk4-builder-tool validate
Matthias Clasen [Sun, 1 Nov 2020 19:47:02 +0000 (14:47 -0500)]
testsuite: Add tests for gtk4-builder-tool validate

5 years agobuilder-tool: Stop rewriting GtkPopoverMenu
Matthias Clasen [Mon, 2 Nov 2020 01:39:43 +0000 (20:39 -0500)]
builder-tool: Stop rewriting GtkPopoverMenu

We no longer allow manual creation of GtkPopoverMenu,
translating individual properties is not going to
change that.

5 years agotestsuite: Test GtkFixed rewriting
Matthias Clasen [Sun, 1 Nov 2020 22:32:47 +0000 (17:32 -0500)]
testsuite: Test GtkFixed rewriting

5 years agobuilder-tool: Rewrite GtkFixed more
Matthias Clasen [Sun, 1 Nov 2020 21:51:14 +0000 (16:51 -0500)]
builder-tool: Rewrite GtkFixed more

GtkFixedLayout does not have layout properties
for x and y, so turn those into a transform.

5 years agobuilder-tool: Avoid duplicate path prefixes
Matthias Clasen [Sun, 1 Nov 2020 19:47:42 +0000 (14:47 -0500)]
builder-tool: Avoid duplicate path prefixes

It is enough to print the file in which the error
occurred once; GtkBuilder already makes that part
of its error message.

5 years agobuilder-tool: Install a log writer
Matthias Clasen [Sun, 1 Nov 2020 20:48:37 +0000 (15:48 -0500)]
builder-tool: Install a log writer

Install a log writer function that is a bit simpler than
the default GLib log writer, and does not put PIDs and
timestamps in the output, so we can compare easily in
our testsuite.

5 years agoSet G_LOG_USE_STRUCTURED globally
Matthias Clasen [Sun, 1 Nov 2020 20:47:44 +0000 (15:47 -0500)]
Set G_LOG_USE_STRUCTURED globally

It doesn't make much sense to set this in per-directory
meson files, since that makes use use different logging
facilities in different parts of the project. Set it
globally.

5 years agotestsuite: Test GtkToolbar rewriting
Matthias Clasen [Sun, 1 Nov 2020 15:37:58 +0000 (10:37 -0500)]
testsuite: Test GtkToolbar rewriting

5 years agobuilder-tool: Rewrite GtkToolbar more
Matthias Clasen [Sun, 1 Nov 2020 19:13:49 +0000 (14:13 -0500)]
builder-tool: Rewrite GtkToolbar more

Replace GtkToolbar with GtkBox and GtkToolButton with
GtkButton.

5 years agotestsuite: Test GtkActionBar rewriting
Matthias Clasen [Sun, 1 Nov 2020 16:39:28 +0000 (11:39 -0500)]
testsuite: Test GtkActionBar rewriting

5 years agotestsuite: Test GtkPaned rewriting
Matthias Clasen [Sun, 1 Nov 2020 16:38:49 +0000 (11:38 -0500)]
testsuite: Test GtkPaned rewriting

5 years agobuilder-tool: Fix rewriting GtkPaned
Matthias Clasen [Sun, 1 Nov 2020 16:37:16 +0000 (11:37 -0500)]
builder-tool: Fix rewriting GtkPaned

The properties have been renamed in bc6643f3c22a61c.

5 years agobuilder-tool: Drop unneeded code
Matthias Clasen [Sun, 1 Nov 2020 16:14:24 +0000 (11:14 -0500)]
builder-tool: Drop unneeded code

We are rewriting the tree before simplifying it,
so there is no need to 'keep things for rewriting'
in the simplify phase.

5 years agotestsuite: Test GtkOverlay rewriting
Matthias Clasen [Sun, 1 Nov 2020 16:12:50 +0000 (11:12 -0500)]
testsuite: Test GtkOverlay rewriting

5 years agobuildertool: Improve GtkOverlay rewriting
Matthias Clasen [Sun, 1 Nov 2020 16:14:03 +0000 (11:14 -0500)]
buildertool: Improve GtkOverlay rewriting

Translate the GtkOverlay:pass-through child property to
the GtkWidget:measure property, and drop the :index
child property.